local _PACKAGE            = (...):match("^(.+)[%./][^%./]+"):gsub("[%./]?node_types", "")
local class               = require 'gty3.sys.BehaviourTree.middleclass'
local Decorator           = require 'gty3.sys.BehaviourTree.node_types.decorator'
local AlwaysFailDecorator = class('AlwaysFailDecorator', Decorator)

function AlwaysFailDecorator:success()
  self.control:fail()
end

function AlwaysFailDecorator:fail()
  self.control:fail()
end

return AlwaysFailDecorator
